package com.axjy.pojo;


import java.util.List;

import java.util.ArrayList;

public class Menu {

  private Integer id;
  private String name;
  private Integer pid;

  private List<Menu> children=new ArrayList<Menu>();

  public List<Menu> getChildren() {
    return children;
  }

  public void setChildren(List<Menu> children) {
    this.children = children;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public Integer getPid() {
    return pid;
  }

  public void setPid(Integer pid) {
    this.pid = pid;
  }

}
